<template>
  <router-view />
</template>

<script>
import { defineComponent, onMounted } from "vue";
import { ElNotification } from "element-plus";
import greetCard from "@/components/greetCard.vue"; // 问候卡片
export default defineComponent({
  setup() {
    onMounted(() => {
      // 问候提示语
      ElNotification({
        title: "羽街管理系统,温馨的问候",
        showClose: true,
        message: <greetCard />,
        position: "bottom-right",
        dangerouslyUseHTMLString: true,
        offset: 50,
        customClass: "titleStyle",
        duration: 0,
      });
    });
  },
});
</script>


<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-size: 14px;
}
html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  height: 100%;
}
a {
  color: #333;
  text-decoration: none;
}
// 滚动条样式
/* 设置整个滚动条的一些属性，宽度针对垂直滚动条，高度针对水平滚动条 */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
// element-card 卡片的样式
.el-card {
  margin-bottom: 10px;
}
</style>
